package com.zhuzg.service;

import com.zhuzg.pojo.request.StorageInRequestDto;
import com.zhuzg.pojo.request.StorageRequestDto;
import com.zhuzg.pojo.response.StorageResponseDto;

import java.util.List;
import java.util.Map;

public interface StorageService {
    List<StorageResponseDto> query(StorageRequestDto condin);

    void add(StorageInRequestDto storageInRequestDto);


    void update(StorageInRequestDto storageInRequestDto);

    void delete(List<Integer> idList);

    String testException();

    StorageResponseDto getById(Integer id);

    StorageResponseDto get(String name,Integer id,String address);

    Map getId(int id);
}
